
Reg-installation Error for tonylandis
Reported by santhoshi | July 22nd, 2009 @ 02:09 AM
hi tony,
i installed this on my Centos-5.2
Mysql: mysql-5.0.83-1.el5.art
PHP: php-5.2.9-2.el5.art
GD: gd-2.0.33-9.4.el5_1.1
i kept the untared directory in /var/www/html
whenever i gave in URL like http://ipaddress/tonylandis
it is giving error i.e...
this file must be writable by php to proceed with installation
Warning: include(install/template.inc) [function.include]: failed to open stream: No such file or directory in /var/www/html/tony/install/install.inc on line 254
Warning: include(install/template.inc) [function.include]: failed to open stream: No such file or directory in /var/www/html/tony/install/install.inc on line 254
Warning: include() [function.include]: Failed opening 'install/template.inc' for inclusion (include_path='.;c:\php\includes') in /var/www/html/tony/install/install.inc on line 254
Please help for me.......
Comments and changes to this ticket
-
santhoshi July 22nd, 2009 @ 02:12 AM
- Assigned user set to Tony Landis
-
Ross November 25th, 2009 @ 07:51 PM
- Assigned user cleared.
PHP5 doesn't like $_SERVER["PATH_TRANSLATED"].
In file install/template.inc, try replacing:
if (is_file($_SERVER["PATH_TRANSLATED"])) {
$path = $_SERVER["PATH_TRANSLATED"];
} elseif (is_file($HTTP_SERVER_VARS["SCRIPT_FILENAME"])) {$path = $HTTP_SERVER_VARS["SCRIPT_FILENAME"];
} else {$path = PATH_AGILE;
} $path = eregi_replace('index.php', '', $path); $path = eregi_replace("[\\]", '/', $path);with a static definition (klunky, but it works):
$path = "/var/www/html/tony/";
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Open Source Billing, Invoicing, and Provisioning